<?php


/**
* @current imagelist.php
* @author   LiuYang <liu_yang@haibao.com>
* @date 2016年12月13日 上午11:47:06
*/

define('IN_ECS', true);

require(dirname(__FILE__) . '/includes/init.php');

global $db;

$sql="SELECT * FROM " .$GLOBALS['prefix']."imagelist WHERE Status = 1 ORDER BY CreateTime LIMIT 30";
$datalist = $db->getAll($sql);


$smarty->assign('datalist',$datalist);
$smarty->assign('full_page',    1);
$smarty->display('imagelist.htm');

?>
